﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SafeScript.MetaModel.Statements
{
    public class TryStatement : Statement
    {
        public List<CatchStatement> Catches = new List<CatchStatement>();
        public FinallyStatement Finally;
        public StatementList Statements;
    }

    public class CatchStatement : Statement
    {
        public VarStatement Var;
        public StatementList Statements;
    }

    public class FinallyStatement : Statement
    {
        public StatementList Statements;
    }
}
